<?php
require_once '../class/control.class.php';
?>
<div id="load"><img src="images/wait.gif" /></div>
<div><span id="efeito" >Cadastrar</span>
	<div id="box1">
		<form method="post" id="formXMLcases" enctype="multipart/form-data" >
			<table width="80%" border="0" cellspacing="5" cellpadding="0" align="center">
				<tr valign="top">
					<td>Cases ZON:</td>
					<td>
						<select name="zon[]" id="idcases_zon" class="input" style="height:100px" multiple="multiple" >
							<?php 
								$lst = new Control('dropdown','cases','');
								$lst->Dropdown(); 
							?>
						</select>
					</td>
					<td></td>
				</tr>	
				<tr valign="top">
					<td>Cases Indústria:</td>
					<td>
						<select name="ind[]" id="idcases_ind" class="input" style="height:100px" multiple="multiple" >
							<?php 
								$lst = new Control('dropdown','cases','');
								$lst->Dropdown(); 
							?>
						</select>
					</td>
					<td></td>
				</tr>	
				<tr valign="top">
					<td>Cases Comércio:</td>
					<td>
						<select name="com[]" id="idcases_com" class="input" style="height:100px" multiple="multiple" >
							<?php 
								$lst = new Control('dropdown','cases','');
								$lst->Dropdown(); 
							?>
						</select>
					</td>
					<td></td>
				</tr>
				<tr align="right">
					<td colspan="3">					
						<input type="hidden" name="pagina" 	id="pagina" value="Cases" />
						<?php 
							echo '<input type="hidden" name="acao" id="acao" value="xml" />';
						?>	
						<input type="submit" value="<?php echo $_GET['editar'] ? 'Atualizar' : 'Cadastrar'; ?>" />
					</td>
				</tr>
			</table>
		</form>
	</div>
	<script type="text/javascript"> 		
        $(document).ready(function() { 
        	var options = {
        		    url:    '../class/server.php'
        		};
            $('#formXMLcases').ajaxForm(options);
            $("#tableOne").tablesorter({ sortList: [[0, 0,]], widgets: ['zebra'] });
        });      
    </script>
</div>